import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from "@angular/router";

import { GlobalService } from "../../providers/global.service";

import { adminRoutes } from './admin.routes';
import { AdminComponent } from './admin/admin.component';

@NgModule({
  declarations: [
    AdminComponent
  ],
  imports: [
    CommonModule,
    RouterModule.forChild(adminRoutes)
  ],
  exports: [
    AdminComponent
  ],
  providers: [GlobalService]
})
export class AdminModule { }